<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>评论管理</title>
   	 <script>
    	var APP = '__CONTROLLER__';
    </script>
    <js file="__STATIC__/js/jq.js" />
    <css file="__STATIC__/hdjs/hdjs.css" />
    <js file="__STATIC__/hdjs/hdjs.js" />
    <js file="__CONTROLLER_VIEW__/js/ajax_action.js" />
</head>
<body>
<div class="wrap">
    <table class="hd-table hd-table-form hd-form">
        <thead>
    		<tr>
				<td width="7%">id</td>
				<td width="10%">用户</td>
				<td width="20%">文章标题</td>
				<td width="40%">评论内容</td>
				<td width="15%">评论时间</td>
				<td>操作</td>
			</tr>
        </thead>
        <tbody>
        	<foreach from="$allComment" key="$key" value="$val" >
        	<tr>
                <td width="7%">{$val.coid}</td>
                <td width="10%">{$val.username}</td>
                <td width="20%"><a href="">{$val.title}</a></td>
                <td width="40%">{$val.comcon}</td>
                <td width="15%">{$val.addtime|date:'Y-m-d',@@}</td>
                <td>
                	<a href="__CONTROLLER__/del/aid/{$val.coid}" class="hd-btn hd-btn-danger hd-btn-xm" style="margin:0px;">删除</a>
                </td>
            </tr>
            </foreach>
        </tbody>
    </table>
    <div class="hd-page">
      	{$page}
    </div>
</div>

</body>
</html>


